import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router);
const router = new Router({
    routes: [
        {
            path: '/',
            name: 'home',
            component: resolve => (require(["@/page/home"], resolve))
        }
        , {
            path: '*',
            name: '404',
            component: resolve => (require(["@/page/notFound"], resolve))
        }
    ]
})
export default router
